package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoVehicleLendOrderDetailVO;
import com.yunxi.sto.pojo.StoVehicleLendOrderQueryVO;
import com.yunxi.sto.pojo.StoVehicleLendOrderVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoVehicleLendOrderDubboServiceMock implements StoVehicleLendOrderDubboService {
    @Override
    public StoVehicleLendOrderVO getById(String id) throws Exception {
       StoVehicleLendOrderVO vo =  new StoVehicleLendOrderVO();
       vo.setLendOrderNo("暂无数据");
        return vo;
    }

    @Override
    public StoVehicleLendOrderDetailVO loadDetail(String id) throws Exception {
        StoVehicleLendOrderDetailVO vo =  new StoVehicleLendOrderDetailVO();
        vo.setLendOrderNo("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoVehicleLendOrderVO stoVehicleLendOrderVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoVehicleLendOrderQueryVO> findPageByVO(StoVehicleLendOrderQueryVO stoVehicleLendOrderQueryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoVehicleLendOrderQueryVO> page =  new   PageInfo<StoVehicleLendOrderQueryVO>();
        List  list  =  new ArrayList();
        StoVehicleLendOrderQueryVO vo =  new StoVehicleLendOrderQueryVO();
        vo.setLendOrderNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public List<StoVehicleLendOrderQueryVO> export(StoVehicleLendOrderQueryVO stoVehicleLendOrderQueryVO) throws Exception {
        List  list  =  new ArrayList();
        StoVehicleLendOrderQueryVO vo =  new StoVehicleLendOrderQueryVO();
        vo.setLendOrderNo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void removeByListVo(List<StoVehicleLendOrderVO> stoVehicleLendOrderVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public void delAndReset(List<String> list, Integer isDel, String userId) throws Exception {

    }
}
